Skip to content

Conversation

@Taz03
Copy link
Member

@Taz03 Taz03 commented Nov 21, 2023

response when already transferred by someone else:
image

response on transfer:
image

@Taz03 Taz03 requested review from a team as code owners November 21, 2023 07:47
@Taz03 Taz03 self-assigned this Nov 21, 2023
@Taz03 Taz03 added enhance command Modify or improve an existing command or group of commands of the bot priority: normal labels Nov 21, 2023
Copy link
Member

@Zabuzard Zabuzard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this needs a deferReply(true) and then reply through the hook.
as its not all-in-the-code but based on an external discord api request (retrieveUserById) and anything that goes over the wire is bound to take too long.

@ankitsmt211
Copy link
Member

Actually nope, forgot to check the most important part. Simultaneous transfers, the interaction is already consumed.
image

Why do i feel like going back to square one👀? could be reason why i went with not an ephemeral one.

@ankitsmt211
Copy link
Member

Oki figured this out, everything looks solid . It still has a chance to create two threads, if the transfer submission is too close because message OP's message still being available.

Copy link
Member Author

@Taz03 Taz03 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking good 😃

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@Taz03 Taz03 requested a review from ankitsmt211 November 22, 2023 11:04
Copy link
Member

@ankitsmt211 ankitsmt211 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great, Good work 👍

@ankitsmt211 ankitsmt211 merged commit 1a5a344 into develop Nov 22, 2023
@ankitsmt211 ankitsmt211 deleted the feature/ephemeral-response branch November 22, 2023 11:34
@Zabuzard Zabuzard mentioned this pull request Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhance command Modify or improve an existing command or group of commands of the bot priority: normal

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants